bf5d6b1e7219c22abde1cec80f1791ba264a8cae,opennms-provision/opennms-provisiond/src/main/java/org/opennms/netmgt/provision/service/PhysInterfaceTableTracker.java,PhysicalInterfaceRow,getIfIndex,#,94
Before Change
public Integer getIfIndex() {
SnmpValue value = getValue(IF_INDEX);
return value == null ? null : value.toInt();
}
private Integer getIfType() {
After Change
public Integer getIfIndex() {
SnmpValue value = getValue(IF_INDEX);
if (value != null) {
return value.toInt();
} else {
// ifIndex is the instance id as well
SnmpInstId inst = getInstance();
if (inst != null && inst.length() == 1) {
return inst.toInt();
}
}
return null;
}
private Integer getIfType() {